import random

# 1.电脑随机产生一个数
computer = random.randint(0, 2)
# 2.注意命名规范，用英文或者中文拼音，下划线驼峰
dian_nao = random.randint(0, 2)
# 代码格式化 Ctrl+alt+L



# 2,输入的数据会被当做字符串，需类型转换
player = eval(input('0石头，1剪刀，2布'))

if (player == 0 and computer == 2) or (player == 1 and computer == 0) or (player == 2 and computer == 1)

    print('玩家赢')
elif player == computer:
    print('平局')
else:
print("玩家输")
